package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Client;
import cn.wolfcode.crm.domain.ClientPlant;
import cn.wolfcode.crm.query.ClientPlantQueryObject;

import java.util.List;

public interface ClientPlantMapper {
    void deleteByPrimaryKey(Long id);

    void insert(ClientPlant record);

    ClientPlant selectByPrimaryKey(Long id);

    List<ClientPlant> selectAll();

    void updateByPrimaryKey(ClientPlant record);

    int queryForCount(ClientPlantQueryObject qo);

    List<ClientPlant> queryForList(ClientPlantQueryObject qo);

    Client insertClientById(Long id);
}